package com.hejing.test;

import java.text.ParseException;
import java.util.Arrays;
import java.util.List;

public class test01 {
    public static void main(String[] args) throws ParseException {

        // 测试，构造一个JSON

        String str = "需要构造成JSON格式的字符串";

        List<String> useSparkModelServiceList = Arrays.asList("iFlytekQA", "");

        System.out.println(useSparkModelServiceList);

        if (useSparkModelServiceList.contains("iFlytekQA")) {
            System.out.println("hhaha");
        }

        String resultStr = "播放偏偏喜欢你";
        String[] temp = resultStr.split("播放");
        List<String> list = Arrays.asList(temp);
        System.out.println(list);
    }
}




























